package model.form;

import org.hibernate.validator.constraints.NotBlank;

;

/**
 * @author winkyle
 * @date 2018/06/22
 * @description 用户登录表单
 */

public class UserLoginForm {

    /**
     * 账户
     */
	@NotBlank(message="账号不能为空")
    private String account;

    /**
     * 密码
     */
	@NotBlank(message="密码不能为空")
    private String password;
    
    /**
     * 设备号
     */
	@NotBlank(message="设备号不能为空")
    private String deviceNumber;

    /**
     * 登录设备名称
     */
	@NotBlank(message="登录来源不能为空")
    private String loginFrom;

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDeviceNumber() {
		return deviceNumber;
	}

	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}

	public String getLoginFrom() {
		return loginFrom;
	}

	public void setLoginFrom(String loginFrom) {
		this.loginFrom = loginFrom;
	}

}
